<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>添加</title>
</head>
<script src="/jquery.js"></script>
<body>
  <form action="/addBook" method="post">
    <table>
      <tr>
        <td>书名</td>
        <td><input type="text" name="name"></td>
      </tr>
      <tr>
        <td>价格</td>
        <td><input type="text" name="price"></td>
      </tr>
      <tr>
        <td>类型</td>
        <td><input type="text" name="category"></td>
      </tr>
      <tr>
        <td>库存</td>
        <td><input type="text" name="pnum"></td>
      </tr>
      <tr>
        <td>图片</td>
        <td><input type="text" name="imgurl"></td>
      </tr>
      <tr>
        <td>说明</td>
        <td><input type="text" name="description"></td>
      </tr>
      <tr>
        <td>作者</td>
        <td><input type="text" name="author"></td>
      </tr>
    </table>
    <input type="submit" value="添加">
    <a href="javascript:void(0)" onclick="location.href='/pageList'">返回</a>
  </form>
</body>
</html>